from django.conf.urls import url

from . import views

urlpatterns = [
    url(r'^tl_pay/$', views.TlPayAPIView.as_view(), name='tl_pay'),  # 通联支付链接
    url(r'^pay/tl/notice$', views.receive_tl_pay, name='tl_pay_notice'),  # 接收通联支付结果
    url(r'^pay/tl/refund_again$', views.refund_again, name='refund_again'),  # 通联再次支付
    url(r'^pay/tl/search_again$', views.search_again, name='search_again'),  # 通联再次查询
    url(r'^auth$', views.TLLoginRegisterViewSet.as_view(), name='tl_auth'),  # 通联授权登录
    url(r'^payment_notice$', views.payment_notice, name='payment_notice'),  # 支付通知
    url(r'^refund_notice$', views.refund_notice, name='refund_notice'),  # 退款通知
]
